// @charset "utf-8";
define(function (require, exports, module) {
	try {
		commonMethod.init();

		var resetSizeFun = require('../base/resetsize');
		resetSizeFun.init();

		interactions.commonEvents();

		var zqxyView = require('./zqxyview');
		zqxyView.init();

		var tradingDay = commonMethod.getTradingDay();

		var autoLoop = require('../base/autoloop');
		autoLoop.tradingDay = tradingDay;
		autoLoop.autodo(function (isIn) {
			if (isIn) {
				zqxyView.isSuccessReg = false;
			}
			zqxyView.autoRefresh(isIn);
		}, 60000, function (date) {
			tradingDay = date;
			if (zqxyView.param.period == 'min') {
				zqxyView.param.begin = date;
			}
			zqxyView.isSuccessReg = false;
			$('#view_input_zqxydate').val(commonMethod.dateSplit(date));
			zqxyView.newZqxyData = '--';
			zqxyView.newShData = '--';
			zqxyView.requestData();
			interactions.renderRisingProb('zqxypjhc', 'NUL');

		});

		TA.log('cop_56d3b7b2_137');
	} catch (e) {
		// alert('zqxyinit'+e.message);
	}
});
